<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Psarinter Administrator</title>
</head>
<body>
    <?php
        $if_lang   = 'lang';
        $exit_lang = strpos($CURRENT_URL, $if_lang);
        if ($exit_lang === false)
        {
            $exis_lang = $CURRENT_URL;
        }
        else
        {
            $exis_lang = substr($CURRENT_URL,0,-8);
        }

        //if have ?
        $findme   = '?';
        $pos = strpos($exis_lang, $findme);
        if ($pos === false) {
            $langch = '?';//was not found
        } else {
            $langch = '&';//was found
        }
        ?>
<div id="container">
    <div id="header">
    <div class="div1">
    <div class="div2"><img src="<?php echo W_ROOT;?>/templates/adminscript/image/logo.png" title="Administrator" onclick="location = '<?php echo W_ROOT;?>/admin/'" /></div>
    
    <div class="div3"><img src="<?php echo W_ROOT;?>/templates/adminscript/image/notication.png" title="Notication" style="position: relative; top: 3px;" /> | <img src="<?php echo W_ROOT;?>/templates/adminscript/image/lock.png" alt="Loginadmin" style="position: relative; top: 3px;" />&nbsp;You logged in as admin</div>
    </div>
  <div id="menu">
    <ul class="left" style="display: none;">
      <li id="dashboard"><a href="<?php echo W_ROOT;?>/admin/" class="top">Dashboard</a></li>
      <li id="catalog"><a class="top">Catalog</a>
        <ul>
          <li><a href="<?php echo W_ROOT;?>/admin/category/">Categories</a></li>
          <li><a href="<?php echo W_ROOT;?>/admin/product/">Products</a></li>
        </ul>
      </li>
      <li id="extension"><a class="top">System</a>
        <ul>
          <li><a href="<?php echo W_ROOT;?>/admin/user/">User</a></li>
          <li><a href="<?php echo W_ROOT;?>/admin/account_type/">User Type</a></li>
        </ul>
      <li id="reports"><a href="<?php echo W_ROOT;?>/admin/advertise/" class="top">Advertise</a></li>
       <li id="reports"><a href="<?php echo W_ROOT;?>/admin/banner/" class="top">Banner</a></li>
        <li id="reports"><a href="<?php echo W_ROOT;?>/admin/vdoyoutube/" class="top">Youtube</a></li>
        <li id="reports"><a href="<?php echo W_ROOT;?>/admin/pages/" class="top">Page</a></li>
    </ul>
    <ul class="right" style="display: none;">
      <li id="store"><a href="<?php echo W_ROOT;?>" target="_blank" class="top">View Store</a></li>
      <li><a class="top" href="<?php echo W_ROOT;?>/admin/?logout">Logout</a></li>
    </ul>
    </div>
  </div>


	<?php
                    if(isset($_SESSION['lang']))
                    {
                         if($_SESSION['lang']=='km')
                        {
                            ?>
                            <style media="screen" type="text/css">
                            html, body, div, span, applet, object, iframe,
                            h1, h2, h3, h4, h5, h6, p, blockquote, pre,
                            a, abbr, acronym, address, big, cite, code,
                            del, dfn, em, img, ins, kbd, q, s, samp,
                            small, strike, strong, sub, sup, tt, var,
                            b, u, i, center,
                            dl, dt, dd, ol, ul, li,
                            fieldset, form, label, legend,
                            table, caption, tbody, tfoot, thead, tr, th, td,
                            article, aside, canvas, details, embed,
                            figure, figcaption, footer, header, hgroup,
                            menu, nav, output, ruby, section, summary,
                            time, mark, audio, video
                            {
                           	    font-family:Hanuman, sans-serif!important;
                            }
                            </style>
                           <?php
                        }
                    }
                    ?>


